#pragma once
#include<stdio.h>
#include<time.h>
#include<stdlib.h>
void menu();
#define ROW 9
#define COL 9
#define ROWS ROW+2
#define COLS COL+2
void init1(char a[ROWS][COLS], int r, int c);
void init2(char a[ROWS][COLS], int r, int c);
void mailei(char mine[ROWS][COLS],int r,int c);
void game();
char mine[ROWS][COLS];
char show[ROWS][COLS];
int leicnt(char mine[ROWS][COLS], int m, int q);
void FindMine(char mine[ROWS][COLS], char show[ROWS][COLS], int row, int col);
void digui(char show[ROWS][COLS], char mine[ROWS][COLS], int x, int y);